Fully Qualified Name: | Laminas\Soap\AutoDiscover\DiscoveryStrategy\DiscoveryStrategyInterface |
Describes how types, return values and method details are detected during AutoDiscovery of a WSDL.
Name | Description | Defined By |
---|---|---|
getFunctionDocumentation() | Detect the functions documentation. | DiscoveryStrategyInterface |
getFunctionParameterType() | Get the function parameters php type. | DiscoveryStrategyInterface |
getFunctionReturnType() | Get the functions return php type. | DiscoveryStrategyInterface |
isFunctionOneWay() | Detect if the function is a one-way or two-way operation. | DiscoveryStrategyInterface |
Detect the functions documentation.
Default implementation uses docblock description.
Parameter Name | Type | Description |
---|---|---|
$function | \AbstractFunction |
Returns: string
Get the function parameters php type.
Default implementation assumes the default param doc-block tag.
Parameter Name | Type | Description |
---|---|---|
$param | \ReflectionParameter |
Returns: string
Get the functions return php type.
Default implementation assumes the value of the return doc-block tag.
Parameter Name | Type | Description |
---|---|---|
$function | \AbstractFunction | |
$prototype | \Prototype |
Returns: string
Detect if the function is a one-way or two-way operation.
Default implementation assumes one-way, when return value is "void".
Parameter Name | Type | Description |
---|---|---|
$function | \AbstractFunction | |
$prototype | \Prototype |
Returns: bool